Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRGetViewCurrentTime

You can use the QTVRGetViewCurrentTime function to get the current time in the current view.

TimeValue QTVRGetViewCurrentTime (QTVRInstance qtvr);
qtvr
An instance of a QuickTime VR movie.
function result
The current time in the current view.

DESCRIPTION

The QTVRGetViewCurrentTime function returns, as its function result, the current time in the current view of the object node specified by the qtvr parameter. The returned value is always greater than or equal to 0 and less than or equal to the value returned by the QTVRGetCurrentViewDuration function.

SPECIAL CONSIDERATIONS

QTVRGetViewCurrentTime is valid only for object nodes.

SEE ALSO

Use QTVRSetViewCurrentTime (next) to set the current time of an object node.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |